package twinb.interest;

import java.util.Map;

public interface InterestModel<TID>
{

    public static final double decayFactor = 0.9;

    public abstract double getInterest(TID id);

    /**
     * Periodically (say, once per day) call this method to decay all the interest values.
     */
    public abstract void decay();

    Map<TID, Double> getVectorRepresentation();

}